package com.android.aishangauction.model.detail;

/**
 * Created by lnest-php on 2017/9/18.
 */

public class DirectBuyWXPayData {

    /**
     * data : {"paycode":{"appid":null,"partnerid":null,"prepayid":null,"wxpackage":"Sign=WXPay","noncestr":null,"timestamp":1505698837,"sign":"E0C1A124618F5E3725DD3E7B4840D0A8"}}
     * flag : true
     * code : 0
     * msg : 操作成功
     * time : 1505698837
     */

    private DataBean data;
    private boolean flag;
    private int code;
    private String msg;
    private int time;

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public boolean isFlag() {
        return flag;
    }

    public void setFlag(boolean flag) {
        this.flag = flag;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public int getTime() {
        return time;
    }

    public void setTime(int time) {
        this.time = time;
    }

    public static class DataBean {
        /**
         * paycode : {"appid":null,"partnerid":null,"prepayid":null,"wxpackage":"Sign=WXPay","noncestr":null,"timestamp":1505698837,"sign":"E0C1A124618F5E3725DD3E7B4840D0A8"}
         */

        private PaycodeBean paycode;

        public PaycodeBean getPaycode() {
            return paycode;
        }

        public void setPaycode(PaycodeBean paycode) {
            this.paycode = paycode;
        }

        public static class PaycodeBean {
            /**
             * appid : null
             * partnerid : null
             * prepayid : null
             * wxpackage : Sign=WXPay
             * noncestr : null
             * timestamp : 1505698837
             * sign : E0C1A124618F5E3725DD3E7B4840D0A8
             */

            private String appid;
            private String partnerid;
            private String prepayid;
            private String wxpackage;
            private String noncestr;
            private int timestamp;
            private String sign;

            public Object getAppid() {
                return appid;
            }

            public void setAppid(String appid) {
                this.appid = appid;
            }

            public String getPartnerid() {
                return partnerid;
            }

            public void setPartnerid(String partnerid) {
                this.partnerid = partnerid;
            }

            public String getPrepayid() {
                return prepayid;
            }

            public void setPrepayid(String prepayid) {
                this.prepayid = prepayid;
            }

            public String getWxpackage() {
                return wxpackage;
            }

            public void setWxpackage(String wxpackage) {
                this.wxpackage = wxpackage;
            }

            public String getNoncestr() {
                return noncestr;
            }

            public void setNoncestr(String noncestr) {
                this.noncestr = noncestr;
            }

            public int getTimestamp() {
                return timestamp;
            }

            public void setTimestamp(int timestamp) {
                this.timestamp = timestamp;
            }

            public String getSign() {
                return sign;
            }

            public void setSign(String sign) {
                this.sign = sign;
            }
        }
    }
}
